package com.bdqn.tour.service.impl;

import com.bdqn.tour.dao.HzyInfoVerifyDao;
import com.bdqn.tour.dao.impl.HzyInfoVerifyDaoImpl;
import com.bdqn.tour.pojo.User;
import com.bdqn.tour.service.HzyInfoVerifyService;

public class HzyInfoVerifyServiceImpl implements HzyInfoVerifyService {
    HzyInfoVerifyDao info = new HzyInfoVerifyDaoImpl();
    @Override
    public boolean updateUser(User user) {
        return info.updateUser(user);
    }

    @Override
    public User validatePassword(String phone, String password) {
        return info.validatePassword(phone,password);
    }
}
